package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.enums.DelEnum;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author: wufeng
 * @date: 2018/9/6 19:44
 * @desrcption:
 */
@Getter
@Setter
@ToString
public class CoUserPermissionListDTO extends BaseDTO {

    @NotNull(message = "{dto.msg.coUserPermissionList.appId.NotNull}")
    private Long appId;

    @NotNull(message = "{dto.msg.coUserPermissionList.menuId.NotNull}")
    private Long menuId;

    private Integer del;

    public CoUserPermissionListDTO(){
        del = DelEnum.NORMAL.getDel();
    }
}
